package com.daka.dao1;


import com.daka.entity.MemberOrg1;
import com.daka.mybatis.SQLMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository(value = "memberOrgDao")
@SQLMapper
public interface MemberOrgDao {

    int deleteByPrimaryKey(Integer id);

    int insert(MemberOrg1 record);

    MemberOrg1 selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MemberOrg1 record);

    List<MemberOrg1> selectList(@Param("max") Integer max, @Param("min") Integer min);

    List<MemberOrg1> selectByOrg(@Param("orgId") Integer orgId);

}